// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_accounts
// * CreateDate    : 2014-06-05 18:29:54
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:54
// * LastChanger   : 2014-06-05 18:29:54
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmAccountsTable : TableInfo
    {
		public const string C_TableName = "hm_accounts";
		
		public const string C_accountid = "accountid";
		public const string C_accountdomainid = "accountdomainid";
		public const string C_accountadminlevel = "accountadminlevel";
		public const string C_accountaddress = "accountaddress";
		public const string C_accountpassword = "accountpassword";
		public const string C_accountactive = "accountactive";
		public const string C_accountisad = "accountisad";
		public const string C_accountaddomain = "accountaddomain";
		public const string C_accountadusername = "accountadusername";
		public const string C_accountmaxsize = "accountmaxsize";
		public const string C_accountvacationmessageon = "accountvacationmessageon";
		public const string C_accountvacationmessage = "accountvacationmessage";
		public const string C_accountvacationsubject = "accountvacationsubject";
		public const string C_accountpwencryption = "accountpwencryption";
		public const string C_accountforwardenabled = "accountforwardenabled";
		public const string C_accountforwardaddress = "accountforwardaddress";
		public const string C_accountforwardkeeporiginal = "accountforwardkeeporiginal";
		public const string C_accountenablesignature = "accountenablesignature";
		public const string C_accountsignatureplaintext = "accountsignatureplaintext";
		public const string C_accountsignaturehtml = "accountsignaturehtml";
		public const string C_accountlastlogontime = "accountlastlogontime";
		public const string C_accountvacationexpires = "accountvacationexpires";
		public const string C_accountvacationexpiredate = "accountvacationexpiredate";
		public const string C_accountpersonfirstname = "accountpersonfirstname";
		public const string C_accountpersonlastname = "accountpersonlastname";
		
		public HmAccountsTable()
        {
            _tableName = "hm_accounts";
        }
		
		protected static HmAccountsTable _current;
        public static HmAccountsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmAccountsTable();

            _current.Add(C_accountid, new ColumnInfo(C_accountid,"Accountid", true, typeof(int)));
            _current.Add(C_accountdomainid, new ColumnInfo(C_accountdomainid,"Accountdomainid", false, typeof(int)));
            _current.Add(C_accountadminlevel, new ColumnInfo(C_accountadminlevel,"Accountadminlevel", false, typeof(byte)));
            _current.Add(C_accountaddress, new ColumnInfo(C_accountaddress,"Accountaddress", false, typeof(string)));
            _current.Add(C_accountpassword, new ColumnInfo(C_accountpassword,"Accountpassword", false, typeof(string)));
            _current.Add(C_accountactive, new ColumnInfo(C_accountactive,"Accountactive", false, typeof(int)));
            _current.Add(C_accountisad, new ColumnInfo(C_accountisad,"Accountisad", false, typeof(int)));
            _current.Add(C_accountaddomain, new ColumnInfo(C_accountaddomain,"Accountaddomain", false, typeof(string)));
            _current.Add(C_accountadusername, new ColumnInfo(C_accountadusername,"Accountadusername", false, typeof(string)));
            _current.Add(C_accountmaxsize, new ColumnInfo(C_accountmaxsize,"Accountmaxsize", false, typeof(int)));
            _current.Add(C_accountvacationmessageon, new ColumnInfo(C_accountvacationmessageon,"Accountvacationmessageon", false, typeof(byte)));
            _current.Add(C_accountvacationmessage, new ColumnInfo(C_accountvacationmessage,"Accountvacationmessage", false, typeof(string)));
            _current.Add(C_accountvacationsubject, new ColumnInfo(C_accountvacationsubject,"Accountvacationsubject", false, typeof(string)));
            _current.Add(C_accountpwencryption, new ColumnInfo(C_accountpwencryption,"Accountpwencryption", false, typeof(byte)));
            _current.Add(C_accountforwardenabled, new ColumnInfo(C_accountforwardenabled,"Accountforwardenabled", false, typeof(byte)));
            _current.Add(C_accountforwardaddress, new ColumnInfo(C_accountforwardaddress,"Accountforwardaddress", false, typeof(string)));
            _current.Add(C_accountforwardkeeporiginal, new ColumnInfo(C_accountforwardkeeporiginal,"Accountforwardkeeporiginal", false, typeof(byte)));
            _current.Add(C_accountenablesignature, new ColumnInfo(C_accountenablesignature,"Accountenablesignature", false, typeof(byte)));
            _current.Add(C_accountsignatureplaintext, new ColumnInfo(C_accountsignatureplaintext,"Accountsignatureplaintext", false, typeof(string)));
            _current.Add(C_accountsignaturehtml, new ColumnInfo(C_accountsignaturehtml,"Accountsignaturehtml", false, typeof(string)));
            _current.Add(C_accountlastlogontime, new ColumnInfo(C_accountlastlogontime,"Accountlastlogontime", false, typeof(DateTime)));
            _current.Add(C_accountvacationexpires, new ColumnInfo(C_accountvacationexpires,"Accountvacationexpires", false, typeof(byte)));
            _current.Add(C_accountvacationexpiredate, new ColumnInfo(C_accountvacationexpiredate,"Accountvacationexpiredate", false, typeof(DateTime)));
            _current.Add(C_accountpersonfirstname, new ColumnInfo(C_accountpersonfirstname,"Accountpersonfirstname", false, typeof(string)));
            _current.Add(C_accountpersonlastname, new ColumnInfo(C_accountpersonlastname,"Accountpersonlastname", false, typeof(string)));
			
		}
		
		public ColumnInfo accountid
        {
            get { return this[C_accountid]; }
        }
		
		public ColumnInfo accountdomainid
        {
            get { return this[C_accountdomainid]; }
        }
		
		public ColumnInfo accountadminlevel
        {
            get { return this[C_accountadminlevel]; }
        }
		
		public ColumnInfo accountaddress
        {
            get { return this[C_accountaddress]; }
        }
		
		public ColumnInfo accountpassword
        {
            get { return this[C_accountpassword]; }
        }
		
		public ColumnInfo accountactive
        {
            get { return this[C_accountactive]; }
        }
		
		public ColumnInfo accountisad
        {
            get { return this[C_accountisad]; }
        }
		
		public ColumnInfo accountaddomain
        {
            get { return this[C_accountaddomain]; }
        }
		
		public ColumnInfo accountadusername
        {
            get { return this[C_accountadusername]; }
        }
		
		public ColumnInfo accountmaxsize
        {
            get { return this[C_accountmaxsize]; }
        }
		
		public ColumnInfo accountvacationmessageon
        {
            get { return this[C_accountvacationmessageon]; }
        }
		
		public ColumnInfo accountvacationmessage
        {
            get { return this[C_accountvacationmessage]; }
        }
		
		public ColumnInfo accountvacationsubject
        {
            get { return this[C_accountvacationsubject]; }
        }
		
		public ColumnInfo accountpwencryption
        {
            get { return this[C_accountpwencryption]; }
        }
		
		public ColumnInfo accountforwardenabled
        {
            get { return this[C_accountforwardenabled]; }
        }
		
		public ColumnInfo accountforwardaddress
        {
            get { return this[C_accountforwardaddress]; }
        }
		
		public ColumnInfo accountforwardkeeporiginal
        {
            get { return this[C_accountforwardkeeporiginal]; }
        }
		
		public ColumnInfo accountenablesignature
        {
            get { return this[C_accountenablesignature]; }
        }
		
		public ColumnInfo accountsignatureplaintext
        {
            get { return this[C_accountsignatureplaintext]; }
        }
		
		public ColumnInfo accountsignaturehtml
        {
            get { return this[C_accountsignaturehtml]; }
        }
		
		public ColumnInfo accountlastlogontime
        {
            get { return this[C_accountlastlogontime]; }
        }
		
		public ColumnInfo accountvacationexpires
        {
            get { return this[C_accountvacationexpires]; }
        }
		
		public ColumnInfo accountvacationexpiredate
        {
            get { return this[C_accountvacationexpiredate]; }
        }
		
		public ColumnInfo accountpersonfirstname
        {
            get { return this[C_accountpersonfirstname]; }
        }
		
		public ColumnInfo accountpersonlastname
        {
            get { return this[C_accountpersonlastname]; }
        }
		
		
		
	}
}

